package cn.kgc.ffzw.day18.homework;

public class Dishes implements OrderList {

    private String[] menu={"红烧带鱼", "鱼香肉丝", "时令鲜蔬"};
    private double[] menuprice = {38.0, 20.0, 10.0};
    private int[] menulike={10,9,8};
    private int choice;

    public String[] getMenu() {
        return menu;
    }

    public void setMenu(String[] menu) {
        this.menu = menu;
    }

    public double[] getMenuprice() {
        return menuprice;
    }

    public void setMenuprice(double[] menuprice) {
        this.menuprice = menuprice;
    }

    public int[] getMenulike() {
        return menulike;
    }

    public void setMenulike(int[] menulike) {
        this.menulike = menulike;
    }

    public int getChoice() {
        return choice;
    }

    public void setChoice(int choice) {
        this.choice = choice;
    }

    @Override
    public void showmenu() {
        for (int i = 0; i < getMenu().length; i++) {
            System.out.println((i+1)+". "+getMenu()[i]
                    +" "+getMenuprice()[i]+" "+"已赞数："+getMenulike()[i]);
        }
        System.out.println();
    }

    @Override
    public void order() {

    }

    @Override
    public void check() {

    }

    @Override
    public void deletorder() {

    }

    @Override
    public void signorder() {

    }

    @Override
    public void like() {

    }
}
